/**
 * 资源相关请求模块
 */
import request from '@/utils/request'

interface Course {
currentPage: number
pageSize: number
courseName?: string
status?: number
}

export const getCoursePages = (data: Course) => {
  return request({
    method: 'POST',
    url: '/boss/course/getQueryCourses',
    data
  })
}
